package com.scau.hwadee.examination.mapper;

import com.scau.hwadee.examination.entity.Course;
import com.scau.hwadee.examination.entity.Graduaterequirment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *@author YHX
 *@date 2019/7/29  9:01
 *@description
 */
public interface GraduaterequirmentMapper {
    int deleteByPrimaryKey(String grId);

    int insert(Graduaterequirment record);

    int insertSelective(Graduaterequirment record);

    Graduaterequirment selectByPrimaryKey(String grId);

    int updateByPrimaryKeySelective(Graduaterequirment record);

    int updateByPrimaryKey(Graduaterequirment record);

    int insertList(@Param("list") List<Graduaterequirment> list);

    Graduaterequirment selectByMajor(String mjId);
}